<style>
<!--
#contractform{
	width: 931px;
	height: 244px;
	padding: 20px;
}
.zend_form dt {
	width: 62px !important;
}
#bottom_button{
	height: 28px;
	line-height: 28px;
	text-align: right;
	padding: 11px;
}

.ui-tabs-panel {
	padding: 0.1em !important;
}
-->
</style>
<div class="flexigrid ui-datepicker ui-widget ui-widget-content  ui-corner-all" id="accountsList" style="width: 99%; display: block;">
	<div class="mDiv ui-datepicker-header ui-widget-header  ui-corner-all">
		<div class="ftitle">修改合同</div>
		<div class="ptogtitle" title="Minimize/Maximize Table"><span></span></div>
	</div>
	<div id="contractform">
	<?php echo $this->form;?>
	</div>
	
	<!-- 列表 -->
	<div id="tabs">
		<ul>
			<li><a href="#tabs-1">合同产品</a></li>
			<li><a href="#tabs-2">附加条款</a></li>
			<li><a href="#tabs-3">合同附件</a></li>
			<li><a href="#tabs-4">费用</a></li>
			<li><a href="#tabs-5">唛头</a></li>
			<li><a href="#tabs-6">催款计划</a></li>
		</ul>
		<div id="tabs-1">
			<table id="product_list"></table>
		</div>
		<div id="tabs-2">
			<table id="rule_list"></table>
		</div>
		<div id="tabs-3">
			<table id="attachment_list"></table>
		</div>
		<div id="tabs-4">
			<table id="cost_list"></table>
		</div>
		<div id="tabs-5">
			<table id="marks_list"></table>
		</div>
		<div id="tabs-6">
			<table id="press_list"></table>
		</div>
	</div>
	<!-- /列表 -->
	
	<div id="bottom_button">
		<button>预览</button>
		<button onClick="sub(event)">保存</button>
		<button>保存并发送</button>
		<button>删除</button>
	</div>
</div>
<script type="text/javascript" src="<?php echo $this->pagePath;?>/js/swfupload/handlers.js"></script>
<script type="text/javascript" src="<?php echo $this->pagePath;?>/js/swfupload/swfupload.js"></script>
<script type="text/javascript" src="<?php echo $this->pagePath;?>/js/pages/contract/edit.js"></script>